package com.ljt.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ljt.utils.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


/**
 * 物资申请明细
 */

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("biz_product_applyFor_details")
@ApiModel(value = "product_applyFor_details对象", description = "申请订单明细")
public class ApplyForDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name = "主键")
    private Long id;

    @TableField(value = "applyId")
    @ApiModelProperty(value = "申请单号")
    @Excel(name = "申请单号")
    private String applyId;

    @ApiModelProperty(value = "物资编号")
    @Excel(name = "物资编号")
    private String pid;

    @TableField(value = "applyNum")
    @ApiModelProperty(value = "申请数量")
    @Excel(name = "申请数量")
    private int applyNum;

}
